<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">

<head th:replace="public/index2 :: CSS(~{::title})">
    <title>神的教师</title>
</head>

<body>
<!-- 菜单 -->
<nav th:insert="~{public/index2 :: index2Head}"></nav>
<!--主要内容-->
<main id="main">
    <!-- 我的恩师 -->
    <section id="team" class="team section-bg">
        <br>
        <div class="container" data-aos="fade-up">

            <div class="section-title">
                <h2>我的恩师们</h2>
                <text>因为没钱,跟着恩师学习.人生恩师</text>
            </div>

            <div class="row">

                <div class="col-lg-6 mt-4" th:each="teacher:${teachers}">
                    <div class="member d-flex align-items-start" data-aos="zoom-in" data-aos-delay="200">
                        <div class="pic"><img th:src="${teacher.getTeImg()}" class="img-fluid" alt=""></div>
                        <div class="member-info">
                            <h4 th:text="${teacher.getTeName()}"></h4>
                            <span th:text="${teacher.getTeStatus()}"></span>
                            <p th:text="${teacher.getTeIntroduce()}"></p>
                        </div>
                    </div>
                </div>

            </div>

        </div>
    </section>

</main>
<!--底层内容-->
<nav th:insert="~{public/index2 :: index2Footer}"></nav>
<!-- 一键回头 -->

<a href="#" class="back-to-top d-flex align-items-center justify-content-center">
    <i class="bi bi-arrow-up-short"></i>
</a>
<!-- Js框架文件 -->
<nav th:insert="~{public/index2 :: index2Js}"></nav>

</body>

</html>
